package com.eshore.norm.pojo.po;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author HJ
 * @date 2024/1/10 10:05
 */
@NoArgsConstructor
@Data
public class NormFloatingIpsPO {

    @JsonProperty("floatingips")
    private List<FloatingipsDTO> floatingips;

    @NoArgsConstructor
    @Data
    public static class FloatingipsDTO {
        @JsonProperty("tenant_id")
        private String tenantId;
        @JsonProperty("floating_network_id")
        private String floatingNetworkId;
        @JsonProperty("revision_number")
        private Integer revisionNumber;
        @JsonProperty("port_details")
        private String portDetails;
        @JsonProperty("created_at")
        private String createdAt;
        @JsonProperty("description")
        private String description;
        @JsonProperty("distributed")
        private Boolean distributed;
        @JsonProperty("dns_name")
        private String dnsName;
        @JsonProperty("floating_ip_address")
        private String floatingIpAddress;
        @JsonProperty("tags")
        private List<String> tags;
        @JsonProperty("updated_at")
        private String updatedAt;
        @JsonProperty("project_id")
        private String projectId;
        @JsonProperty("qos_network_policy_id")
        private String qosNetworkPolicyId;
        @JsonProperty("dns_domain")
        private String dnsDomain;
        @JsonProperty("fixed_ip_address")
        private String fixedIpAddress;
        @JsonProperty("qos_policy_id")
        private String qosPolicyId;
        @JsonProperty("port_id")
        private String portId;
        @JsonProperty("router_id")
        private String routerId;
        @JsonProperty("id")
        private String id;
        @JsonProperty("status")
        private String status;
    }
}
